home *** CD-ROM | disk | FTP | other *** search
/ Internet.Works 40 / Issue 40.iso / pc / PCSoftware / MaxManager / maxmangr.exe / CERTRA.inf < prev    next >
Encoding:
Windows Setup INFormation  |  2000-09-25  |  13.8 KB  |  422 lines

  1. ; Application: MaxManager
  2. ; Version    : 1.0
  3. ; Author     : MaxManager
  4. ; Copyright  : © 1999-2000 by Certra Corporation
  5. ; License of : Certra Corporation
  6. ; ---------------------------------------------------------------------------
  7.  
  8. [Version]
  9. Signature=$Chicago$
  10. Provider=%Author%
  11.  
  12. [Strings]
  13. Product="MaxManager"
  14. Author="CERTRA"
  15.  
  16.  
  17.  
  18. ; The DefaultInstall section is left blank so that this .INF cannot be run
  19. ; from Explorer by right clicking on it.
  20. [DefaultInstall]
  21.  
  22. ; -------------------------------------
  23. ; Initial install - via Web
  24.  
  25.  
  26. ; FreshInstall takes care of a complete fresh install (does not require reboot,
  27. ; unless WSH or XML is needed)
  28. [FreshInstall]
  29. CERTRA=InstallPrerequisites,GetMerchants,UnRegOldProgs1,DeleteOldProgs1    ; WSH, XML
  30. Copyfiles=ProgramFiles,DatabaseFiles,DataErrorFiles,DataCacheFiles,BrandingFiles
  31. AddReg=SetupRegistry,SetupInitMerchantReg,AddUninstallKey
  32. UpdateInis=UpdateMenus,CreateDesktopIcon
  33. Register=RegisterComponents,RegisterEXEs
  34. RestartSection=,AutoSelect  ; only need when WSH and/or XML is needed
  35.  
  36.  
  37. ; FreshInstall2 takes care of installation after install of XML parser or WSH
  38. [FreshInstall2]
  39. Copyfiles=ProgramFiles,DatabaseFiles,DataErrorFiles,DataCacheFiles,BrandingFiles
  40. AddReg=SetupRegistry,AddUninstallKey
  41. UpdateInis=UpdateMenus,CreateDesktopIcon
  42. Register=RegisterComponents,RegisterEXEs
  43.  
  44.  
  45.  
  46. ; FreshInstallPostXML takes care of installation after install of XML parser
  47. [FreshInstallPostXML]
  48. CERTRA=InstallPrerequisites ; to install WSH
  49. Copyfiles=ProgramFiles,DatabaseFiles,DataErrorFiles,DataCacheFiles,BrandingFiles
  50. AddReg=SetupRegistry,AddUninstallKey
  51. UpdateInis=UpdateMenus,CreateDesktopIcon
  52. Register=RegisterComponents,RegisterEXEs
  53. RestartSection=FreshInstall2
  54.  
  55. ; -------------------------------------
  56. ; end of - Initial install
  57.  
  58.  
  59.  
  60. ; -------------------------------------
  61. ; Initial install - via CD
  62.  
  63.  
  64. ; FreshInstall.CD takes care of a complete fresh install (does not require reboot,
  65. ; unless WSH or XML is needed)
  66. [FreshInstall.CD]
  67. CERTRA=InstallPrerequisites,GetMerchants,UnRegOldProgs1,DeleteOldProgs1     ; WSH, XML
  68. Copyfiles=ProgramFiles,DatabaseFiles,DataErrorFiles,DataCacheFiles,MerchantData,BrandingFiles
  69. AddReg=SetupRegistry,SetupInitMerchantReg,AddUninstallKey
  70. UpdateInis=UpdateMenus,CreateDesktopIcon
  71. Register=RegisterComponents,RegisterEXEs
  72. RestartSection=,AutoSelect  ; only need when WSH and/or XML is needed
  73.  
  74.  
  75. ; FreshInstall2.CD takes care of installation after install of XML parser or WSH
  76. [FreshInstall2.CD]
  77. Copyfiles=ProgramFiles,DatabaseFiles,DataErrorFiles,DataCacheFiles,MerchantData,BrandingFiles
  78. AddReg=SetupRegistry,AddUninstallKey
  79. UpdateInis=UpdateMenus,CreateDesktopIcon
  80. Register=RegisterComponents,RegisterEXEs
  81.  
  82.  
  83.  
  84. ; FreshInstallPostXML.CD takes care of installation after install of XML parser
  85. [FreshInstallPostXML.CD]
  86. CERTRA=InstallPrerequisites,GetMerchants,UnRegOldProgs1,DeleteOldProgs1
  87. Copyfiles=ProgramFiles,DatabaseFiles,DataErrorFiles,DataCacheFiles,MerchantData,BrandingFiles
  88. AddReg=SetupRegistry,AddUninstallKey
  89. UpdateInis=UpdateMenus,CreateDesktopIcon
  90. Register=RegisterComponents,RegisterEXEs
  91. RestartSection=FreshInstall2.CD
  92.  
  93. ; -------------------------------------
  94. ; end of - Initial install - via .exe
  95.  
  96.  
  97. ; -------------------------------------
  98. ; Upgrading
  99.  
  100. ; Take care of upgrades
  101. [Upgrade]
  102. CERTRA=PrivateBetaMigrate,GetMerchants,UnRegOldProgs1,DeleteOldProgs1   ; Change early registry keys
  103. Copyfiles=ProgramFiles,DatabaseFiles,DataErrorFiles,DataCacheFiles,BrandingFiles    ; ,InstallFiles
  104. AddReg=SetupRegistry,AddUninstallKey,SetupInitMerchantReg
  105. UpdateInis=UpdateMenus,CreateDesktopIcon
  106. Register=RegisterComponents,RegisterEXEs
  107. ; Where to start if a restart or reboot is necessary
  108. RestartSection=Upgrade1,Upgrade2        
  109.  
  110.  
  111.  
  112. ; Upgrade1 takes care of the portion of an upgrade after the user has closed all IE windows
  113. [Upgrade1]
  114. CERTRA=PrivateBetaMigrate,GetMerchants,UnRegOldProgs1,DeleteOldProgs1   ; Change early registry keys
  115. Copyfiles=ProgramFiles,DatabaseFiles,DataErrorFiles,DataCacheFiles,BrandingFiles    ; ,InstallFiles
  116. AddReg=SetupRegistry,AddUninstallKey,SetupInitMerchantReg
  117. UpdateInis=UpdateMenus,CreateDesktopIcon
  118. Register=RegisterComponents,RegisterEXEs
  119. RestartSection=,Upgrade2        
  120.  
  121.  
  122.  
  123. ; Upgrade2 takes care of the portion of an upgrade when a reboot is necessary
  124. [Upgrade2]
  125. UpdateInis=UpdateMenus,CreateDesktopIcon
  126. Register=RegisterComponents,RegisterEXEs
  127.  
  128.  
  129. ; -------------------------------------
  130. ; end of - Upgrading
  131.  
  132.  
  133. ; -- This section names the directory that the files in the named group will be 
  134. ; -- copied to.
  135. ; -- Values over 32,768 are replaced at runtime with a string.
  136. [DestinationDirs]
  137. ProgramFiles=40001      ; ex. Program Files\MaxManager
  138. Content=40002           ; ex. My Documents\MaxManager\Content
  139. DataErrorFiles=40003    ; ex. My Documents\MaxManager\Data\Error
  140. DataCacheFiles=40004    ; ex. My Documents\MaxManager\Data\Cache
  141. DatabaseFiles=40005     ; ex. My Documents\MaxManager\Data
  142. InstallFiles=40001      ; ex. Program Files\MaxManager
  143. INFFiles=40006          ; ex. WinNT\INF
  144. BrandingFiles=40009     ; ex. My Documents\MaxManager\Data\Branding\Std
  145.  
  146. ; -- The following is ONLY used by the .exe setup program
  147. MerchantData=40001
  148.  
  149.  
  150.  
  151.  
  152. [SourceDisksFiles]
  153. Engine.dll=1,,1028096
  154. ; ComHost.exe=1,,32824
  155. BHO.dll=1,,98304
  156. ; CertMgr.exe=1,,225280  (replaced by MMAgent.exe)
  157. MMAgent.exe=1,,252952
  158. ; NotfyMgr.exe=1,,32000 (replaced by MMNotify.exe)
  159. MMNotify.exe=1,,32768
  160. AOLHook.dll=1,,40960
  161. ; Shopper.exe=1,,184320 (replaced by MaxMgr.exe)
  162. MaxMgr.exe=1,,208896
  163. VersionRef.dat=1,,0
  164. Tag.dir=1,,0
  165. ; CERTRA.inf=1,,3770
  166. InstHost.exe=1,,36864
  167. InstAX.dll=1,,163840
  168. WBHook.dll=1,,28672
  169. Receipt.css=1,,31
  170. ; ----
  171. ; Branding file list
  172. ; ----
  173. Bar_Logo.gif=2,,1779
  174. Bar_LogoAnim.gif=2,,1506
  175. Menu_BG.gif=2,,807
  176. MenuBtn_Home.gif=2,,972
  177. MenuBtn_Links.gif=2,,958
  178. MenuBtn_Offers.gif=2,,979
  179. MenuBtn_Orders.gif=2,,1063
  180. MenuBtn_Resources.gif=2,,1075
  181. MenuBtn_Stores.gif=2,,985
  182. MenuBtn_Support.gif=2,,1022
  183. MenuBtnH_Home.gif=2,,952
  184. MenuBtnH_Links.gif=2,,939
  185. MenuBtnH_Offers.gif=2,,953
  186. MenuBtnH_Orders.gif=2,,1029
  187. MenuBtnH_Resources.gif=2,,1032
  188. MenuBtnH_Stores.gif=2,,958
  189. MenuBtnH_Support.gif=2,,95
  190. Nav_BG.gif=2,,807
  191. Nav_L.gif=2,,856
  192. Nav_R.gif=2,,913
  193. NavBtn_Back.gif=2,,973
  194. NavBtn_Forward.gif=2,,982
  195. NavBtnD_Back.gif=2,,952
  196. NavBtnD_Forward.gif=2,,964
  197. NavBtnH_Back.gif=2,,962
  198. NavBtnH_Forward.gif=2,,975
  199. Web_Address.gif=2,,1011
  200. Web_BG.gif=2,,808
  201. Web_L.gif=2,,860
  202. WebBtn_Capture.gif=2,,1026
  203. WebBtn_Reload.gif=2,,1017
  204. WebBtn_Stop.gif=2,,1013
  205. WebBtnD_Capture.gif=2,,1006
  206. WebBtnD_Reload.gif=2,,997
  207. WebBtnD_Stop.gif=2,,979
  208. WebBtnH_Capture.gif=2,,1006
  209. WebBtnH_Reload.gif=2,,1014
  210. WebBtnH_Stop.gif=2,,982
  211. CouponBar_Next.gif=2,,843
  212. CouponBar_NoNext.gif=2,,845
  213. CouponBar_NoPrev.gif=2,,844
  214. CouponBar_Prev.gif=2,,843
  215. CouponBar_Left.gif=2,,1062
  216. CouponBar_Top.gif=2,,809
  217. CouponBar_Right.gif=2,,2837
  218. CouponBar_Bottom.gif=2,,810
  219. CouponBar_RightHilited.gif=2,,2850
  220.  
  221. ; -- 65536 is a flag for the file copy function
  222. [ProgramFiles]
  223. Engine.dll,,,65536
  224. ; ComHost.exe
  225. ; NotfyMgr.exe,,,65536  (replaced by MMNotify.exe)
  226. MMNotify.exe,,,65536
  227. BHO.dll,,,65536
  228. ; CertMgr.exe,,,65536   (replaced by MMAgent.exe)
  229. MMAgent.exe,,,65536
  230. AOLHook.dll,,,65536
  231. ; Shopper.exe,,,65536   (replace by MaxMgr.exe)
  232. MaxMgr.exe,,,65536
  233. VersionRef.dat,,,65536
  234. InstHost.exe,,,65536
  235. InstAX.dll,,,65636
  236. WBHook.dll,,,65536
  237.  
  238. ; -- Write a zero byte file to create the data\error directory
  239. [DataErrorFiles]
  240. Tag.dir,,,65536
  241.  
  242. ; -- Files in the users data directory
  243. [DatabaseFiles]
  244. Receipt.css,,,65536
  245.  
  246. ; -- Write a zero byte file to create the data\cache directory
  247. [DataCacheFiles]
  248. Tag.dir,,,65536
  249.  
  250. ; -- .INF file needed for reboot situations
  251. [InstallFiles]
  252. CERTRA.inf,,,65536
  253.  
  254. ; -- Merchant data file needed for the .exe setup ONLY
  255. [MerchantData]
  256.  
  257. ; -- Branding files
  258. [BrandingFiles]
  259. Bar_Logo.gif,,,65536
  260. Bar_LogoAnim.gif,,,65536
  261. Menu_BG.gif,,,65536
  262. MenuBtn_Home.gif,,,65536
  263. MenuBtn_Links.gif,,,65536
  264. MenuBtn_Offers.gif,,,65536
  265. MenuBtn_Orders.gif,,,65536
  266. MenuBtn_Resources.gif,,,65536
  267. MenuBtn_Stores.gif,,,65536
  268. MenuBtn_Support.gif,,,65536
  269. MenuBtnH_Home.gif,,,65536
  270. MenuBtnH_Links.gif,,,65536
  271. MenuBtnH_Offers.gif,,,65536
  272. MenuBtnH_Orders.gif,,,65536
  273. MenuBtnH_Resources.gif,,,65536
  274. MenuBtnH_Stores.gif,,,65536
  275. MenuBtnH_Support.gif,,,65536
  276. Nav_BG.gif,,,65536
  277. Nav_L.gif,,,65536
  278. Nav_R.gif,,,65536
  279. NavBtn_Back.gif,,,65536
  280. NavBtn_Forward.gif,,,65536
  281. NavBtnD_Back.gif,,,65536
  282. NavBtnD_Forward.gif,,,65536
  283. NavBtnH_Back.gif,,,65536
  284. NavBtnH_Forward.gif,,,65536
  285. Web_Address.gif,,,65536
  286. Web_BG.gif,,,65536
  287. Web_L.gif,,,65536
  288. WebBtn_Capture.gif,,,65536
  289. WebBtn_Reload.gif,,,65536
  290. WebBtn_Stop.gif,,,65536
  291. WebBtnD_Capture.gif,,,65536
  292. WebBtnD_Reload.gif,,,65536
  293. WebBtnD_Stop.gif,,,65536
  294. WebBtnH_Capture.gif,,,65536
  295. WebBtnH_Reload.gif,,,65536
  296. WebBtnH_Stop.gif,,,65536
  297. CouponBar_Next.gif,,,65536
  298. CouponBar_NoNext.gif,,,65536
  299. CouponBar_NoPrev.gif,,,65536
  300. CouponBar_Prev.gif,,,65536
  301. CouponBar_Left.gif,,,65536
  302. CouponBar_Top.gif,,,65536
  303. CouponBar_Right.gif,,,65536
  304. CouponBar_Bottom.gif,,,65536
  305. CouponBar_RightHilited.gif,,,65536
  306.  
  307. [SourceDisksNames]
  308. 1="Cabinet File",CERTRA.CAB,,
  309. 2="Branding CAB",BRANDING.CAB,,
  310.  
  311.  
  312.  
  313.  
  314. ; The 4th param (2) is FLG_ADDREG_NOCLOBBER
  315. [SetupRegistry]
  316. HKCU,"SOFTWARE\Sawtooth","ContentPath",2,%40002%
  317. HKCU,"SOFTWARE\Sawtooth","DatabasePath",2,%40005%
  318. HKCU,"SOFTWARE\Sawtooth","ErrorPath",2,%40003%
  319. HKCU,"SOFTWARE\Sawtooth\Schedules","CouponUpdate_next",2,""
  320. HKCU,"SOFTWARE\Sawtooth\Schedules","CouponUpdate_serverTimeStamp",2,"1998-04-15-00:00:00"
  321. HKCU,"SOFTWARE\Sawtooth\Schedules","MerchantUpdate_next",2,""
  322. HKCU,"SOFTWARE\Sawtooth\Schedules","MerchantUpdate_serverTimeStamp",2,"1998-04-15 00:00:00"
  323. HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Run", "CertraTray",0,"%40001%\MMAgent.exe"
  324. HKCU,"SOFTWARE\Sawtooth","BrandingPath",2,%40009%
  325. HKLM,"SOFTWARE\Sawtooth","EnginePath",,%40001%
  326. HKLM,"SOFTWARE\Sawtooth","MainUIPath",,%40001%
  327. HKLM,"SOFTWARE\Sawtooth","TrayPath",,%40001%
  328. HKLM,"SOFTWARE\Sawtooth","WBHookPath",,%40001%
  329. HKLM,"SOFTWARE\Sawtooth","VersionRefPath",,%40001%
  330.  
  331. ; Key only used during inital installs (merchant data)
  332. [SetupInitMerchantReg]
  333. HKCU,"SOFTWARE\Sawtooth","InitMerchants",,%40001%\InitMerchants.xml
  334.  
  335. ; Add this to the registry to allow for uninstall later
  336. [AddUninstallKey]
  337. HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\MaxManager","DisplayName",,"MaxManager"
  338. HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\MaxManager","UninstallString",,%40001%"\InstHost" %40006%"\CERTRA.INF" DefaultUninstall /u
  339.  
  340.  
  341. ; Menus are listed on the screen in this order
  342. [UpdateMenus]
  343. setup.ini, progman.groups, , "group1=""%Product%"""
  344. setup.ini, group1, , """MaxManager""", """"%40001%\MaxMgr.exe"""", , , , """"%40001%"""", ""MaxMgr.exe"""
  345. setup.ini, group1, , """MaxManager Agent""",  """"%40001%\MMAgent.exe"""", , , , """"%40001%"""", ""MMAgent.exe"""
  346. setup.ini, group1, , """Uninstall MaxManager""", """"%40001%\InstHost.exe"""", """CERTRA.INF DefaultUninstall /u""", , , """"%40001%"""", ""InstHost.exe"""
  347.  
  348. [CreateDesktopIcon]
  349. setup.ini, progman.groups,, "group1=""..\..\Desktop"""
  350. setup.ini, group1, , """MaxManager""", """"%40001%\MaxMgr.exe"""", , , ,""""%40001%"""",""MaxMgr.exe"""
  351.  
  352.  
  353.  
  354.  
  355. ; Only done after all files have been copied (may be after reboot)
  356. [RegisterComponents]
  357. %40001%\BHO.dll
  358. %40001%\Engine.dll
  359.  
  360. ; Only done after all files have been copied (may be after reboot)
  361. [RegisterEXEs]
  362. %40001%\MMNotify.exe, "/regserver"
  363. %40001%\MaxMgr.exe,  "/regserver"
  364.  
  365.  
  366. ; ---------------------------------------
  367. ; Uninstall sections
  368. ;
  369. ;   (note this section is named in the [AddUninstallKey] section that was read during install/upgrade
  370.  
  371. [DefaultUninstall]
  372. CERTRA=DeletePerUserContent
  373. UpdateInis=DeleteMenus,DeleteDesktopIcon
  374. DelFiles=DataErrorFiles,DataCacheFiles,BrandingFiles
  375. DelReg=DeleteRegistry,DeleteUninstallKey
  376. Register=UnRegisterComponents,UnRegisterEXEs
  377. RestartSection=DefaultUninstall     ; after shutdown of IE window apps, and MaxManager
  378.  
  379.  
  380.  
  381. ; These are the same as CreateMenus & CreateDesktopIcon except that the first line is repeated twice.
  382. ; The first time gives context to the short-cuts, the 2nd time allows the group itself to be deleted.
  383. ; (Note we won't delete the desktop group.)
  384. [DeleteMenus]
  385. setup.ini, progman.groups, , "group1=""%Product%"""
  386. setup.ini, group1, , """MaxManager Agent""",  """"%40001%\MMAgent.exe"""", , , , """"%40001%"""", ""MMAgent.exe"""
  387. setup.ini, group1, , """MaxManager ReadMe""", """"%40001%\Readme.htm"""", , , , """"%40001%"""", ""Readme.htm"""
  388. setup.ini, group1, , """MaxManager""", """"%40001%\MaxMgr.exe"""", , , , """"%40001%"""", ""MaxMgr.exe"""
  389. setup.ini, group1, , """Uninstall MaxManager""", """"%40001%\InstHost.exe"""", """CERTRA.INF DefaultUninstall /u""", , , """"%40001%"""", ""InstHost.exe"""
  390. setup.ini, progman.groups, , "group1=""%Product%"""
  391.  
  392. [DeleteDesktopIcon]
  393. setup.ini, progman.groups,, "group1=""..\..\Desktop"""
  394. setup.ini, group1, , """MaxManager""", """"%40001%\MaxMgr.exe"""", , , ,""""%40001%"""",""MaxMgr.exe"""
  395.  
  396. [DeleteRegistry]
  397. HKLM,"SOFTWARE\Sawtooth","EnginePath"
  398. HKLM,"SOFTWARE\Sawtooth","MainUIPath"
  399. HKLM,"SOFTWARE\Sawtooth","TrayPath"
  400. HKLM,"SOFTWARE\Sawtooth","WBHookPath"
  401. HKLM,"SOFTWARE\Sawtooth","VersionRefPath"
  402. HKLM,"SOFTWARE\Sawtooth"
  403. HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Run", "CertraTray"
  404.  
  405. [DeleteUninstallKey]
  406. HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\MaxManager","DisplayName"
  407. HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\MaxManager","UninstallString"
  408. HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\MaxManager"
  409.  
  410.  
  411. [UnRegisterComponents]
  412. %40001%\BHO.dll
  413. %40001%\Engine.dll
  414.  
  415.  
  416. [UnRegisterEXEs]
  417. %40001%\NotfyMgr.exe, "/unregserver"
  418. %40001%\Shopper.exe,  "/unregserver"
  419. %40001%\MMNotify.exe, "/unregserver"
  420. %40001%\MaxMgr.exe,  "/unregserver"
  421.